package com.jeasonzhao.report.engine.irp;

import com.jeasonzhao.report.engine.ReportUserInfo;
import com.jeasonzhao.report.model.Report;

public interface IUserProvider
{
    public ReportUserInfo getCurrentUser(Object renderParameter);

    public boolean isAccessable(ReportUserInfo user,Report report);

    public void onAddReport(ReportUserInfo user,Report report);

    public void onDeleteReport(ReportUserInfo user,Report report);
}
